package com.neusoft.elmboot.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommonUtil {

	public static String getCurrentDate() {
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
		Date date = new Date(System.currentTimeMillis());
		String ans = formatter.format(date).toString();
		return ans;
	}
	
	public static void main(String[] args) {
		getCurrentDate();
	}
}
